package com.xuanwei.core.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @Author jiangyong
 * @Description TODO
 * @Date 2019/8/19 18:35
 **/
@Data
public class CouponListVo {

    private Integer id;

    private String title;

    private BigDecimal amount;

    private Integer type;

    private String condition;

    private String limitType;

    private String obtainRate;

    private Integer useNum;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    /**
     *  0正常1作废2过期
     */
    private Integer status;
}
